<?php $form = new form('stabilityTest', $this->getVar('data'), $this->aether); ?>
<?php echo $form->open(); ?>
<?php echo $form->errors(); ?>
<ul>
	<li><?php echo $form->text('name', array('label' => 'Name: ')); ?></li>
	<li><?php echo $form->checkboxGroup('favoriteFoods', array(
		array('label' => 'Pizza', 'value' => 'Pizza'),
		array('label' => 'Pie', 'value' => 'Pie'),
		array('label' => 'Ice Cream', 'value' => 'Ice Cream'),
		array('label' => 'Tacos', 'value' => 'Tacos'),
		array('label' => 'Haggis', 'value' => 'Haggis')
	), array('label' => 'Favorite Foods: ', 'indexes' => array('*', 'food'))); ?></li>
	<li><?php echo $form->submit('Submit!'); ?></li>
</ul>
<?php echo $form->close(); ?>
